package com.blb.zy_community.service;

import com.blb.zy_community.entity.SysDept;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 部门表 服务类
 * </p>
 *
 * @author 二组
 * @since 2023-06-18
 */
public interface ISysDeptService extends IService<SysDept> {
    List<SysDept> selectChildDeptTreeByParentId(Long parentId);

    List<SysDept> FindDept(Long parentId,String deptName,String status);

    List<SysDept> filterByDeptAndStatus(List<SysDept> sysDepts, String deptName, String status);
}
